package entity;

public class User {
	private int id;
	private String userName;
	private String passWord;
	private String name;
	private int age;
	private int gender;
	private String phone;
	
	public User() {
	}

	public User(String userName, String passWord, String name, int age,
			int gender, String phone) {
		this.userName = userName;
		this.passWord = passWord;
		this.name = name;
		this.age = age;
		this.gender = gender;
		this.phone = phone;
	}

	public int getId() {
		return id;
	}

	public String getUserName() {
		return userName;
	}

	public String getPassWord() {
		return passWord;
	}

	public String getName() {
		return name;
	}

	public int getAge() {
		return age;
	}

	public int getGender() {
		return gender;
	}

	public String getPhone() {
		return phone;
	}

	public void setId(int id) {
		this.id = id;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public void setPassWord(String passWord) {
		this.passWord = passWord;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public void setGender(int gender) {
		this.gender = gender;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	@Override
	public String toString() {
		return "User [age=" + age + ", gender=" + gender + ", id=" + id
				+ ", name=" + name + ", passWord=" + passWord + ", phone="
				+ phone + ", userName=" + userName + "]";
	}
	
	
}
